<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="utf-8" />
        <title>InputGroup - ESUI Demo</title>
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" href="../../../dep/esui/3.2.0-beta.2/demo/assets/google-code-prettify/prettify.css"/>
        <link rel="stylesheet" href="assets/themes/standard.css" />
        <!--[if lt IE 9]>
        <link rel="stylesheet" href="../../../dep/esui/3.2.0-beta.2/demo/assets/ie8.css"/>
        <![endif]-->
    </head>
<body>
    <div class="header">
        <h1 id="branding">ESUI InputGroup</h1>
    </div>
    <div class="ui-g main-container">
        <div id="side-bar" class="ui-u-1-5">
            <ul id="navigator" class="ui-nav">
            </ul>
        </div>
        <div id="main" class="ui-u-4-5">
            <h2>InputGroup</h2>
            <p>InputGroup</p>
            <div class="example">
                <form class="edit-form"
                    data-ui-type="Form"
                    data-ui-id="form"
                    data-ui-auto-validate="true"
                    data-ui-submit-button="submit-button,submit-and-continue-button">
                    <div class="ui-form-row">
                        <div class="ui-form-key"><label>监测链接：</label></div>
                        <div data-ui-type="InputGroup" data-ui-id="input" data-ui-max-count="8" data-ui-width="300" data-ui-sub-rules='{"required":"required", "minLength": "10", "requiredErrorMessage": "必须输入！"}' data-ui-name="addName">
                        </div>
                    </div>
                    <div class="ui-form-buttons">
                        <div data-ui-type="Button" data-ui-id="submit-button"
                                 data-ui-variants="primary">保存</div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <script src="../../../dep/esui/3.2.0-beta.2/demo/assets/loader/esl.js"></script>
    <script src="config.js"></script>
    <script src="../../../dep/esui/3.2.0-beta.2/demo/demo.js"></script>
    <script src="../../../dep/esui/3.2.0-beta.2/demo/assets/google-code-prettify/prettify.js"></script>
    <script id="main-js">
    require(
        [
            'esui',
            'InputGroup',
            'demo',
            'esui/Form',
            'esui/Label',
            'esui/Tab',
            'esui/Button',
            'esui/validator/RequiredRule',
            'esui/validator/MinLengthRule'
        ],
        function (ui) {
            ui.init();
        }
    );
    </script>
    <script src="sitemap.js"></script>

</body>
</html>
